home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / prefs / pointer.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  63 lines

  1. #ifndef PREFS_POINTER_H
  2. #define PREFS_POINTER_H
  3. /*
  4. **    $VER: pointer.h 39.2 (9.6.92)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for pointer preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18.  
  19. #ifndef LIBRARIES_IFFPARSE_H
  20. #include <libraries/iffparse.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. #define ID_PNTR MAKE_ID('P','N','T','R')
  26.  
  27. /*****************************************************************************/
  28.  
  29. struct PointerPrefs
  30. {
  31.     ULONG pp_Reserved[4];
  32.     UWORD pp_Which;                /* 0=NORMAL, 1=BUSY */
  33.     UWORD pp_Size;                /* see <intuition/pointerclass.h> */
  34.     UWORD pp_Width;                /* Width in pixels */
  35.     UWORD pp_Height;                /* Height in pixels */
  36.     UWORD pp_Depth;                /* Depth */
  37.     UWORD pp_YSize;                /* YSize */
  38.     UWORD pp_X, pp_Y;                /* Hotspot */
  39.  
  40.     /* Color Table:  numEntries = (1 << pp_Depth) - 1 */
  41.  
  42.     /* Data follows */
  43. };
  44.  
  45. /*****************************************************************************/
  46.  
  47. /* constants for PointerPrefs.pp_Which */
  48. #define    WBP_NORMAL    0
  49. #define    WBP_BUSY    1
  50.  
  51. /*****************************************************************************/
  52.  
  53. struct RGBTable
  54. {
  55.     UBYTE t_Red;
  56.     UBYTE t_Green;
  57.     UBYTE t_Blue;
  58. };
  59.  
  60. /*****************************************************************************/
  61.  
  62. #endif /* PREFS_POINTER_H */
  63.